<table border="1">
	<th>Order</th>
	<th>Name</th>
	<th>Address</th>
	<th>Phone</th>
	<th>Status</th>
	<th>Action</th>
	
	<{foreach from=$supplierList item=phantu}>
		<tr> 
			<td> <{$phantu.sup_id}> </td>
			<td> <{$phantu.sup_name}> </td>		
			<td> <{$phantu.sup_address}> </td>		
			<td> <{$phantu.sup_phone}> </td>	
			<td> <{$phantu.sup_status}> </td>		
			<td> 
				<a href="<{$smarty.const.APPLICATION_URL}>suppliers/editForm/<{$phantu.sup_id}>">					
					edit 
				</a>
				| 
				<{if $phantu.sup_status==1}>
					<a href="<{$smarty.const.APPLICATION_URL}>suppliers/inactive/<{$phantu.sup_id}>">					
							Inactive					
					</a> 
				<{else}>
					<a href="<{$smarty.const.APPLICATION_URL}>suppliers/active/<{$phantu.sup_id}>">					
							Active					
					</a> 
				<{/if}>
			</td>			
		</tr>
	<{/foreach}>
</table>